package com.zimi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zimi.model.SysOrg;
import com.zimi.model.SysOrgExtend;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 系统组织机构 mapper
 *
 * @author lnintr
 * @since 2019-05-25
 */
@Mapper
public interface SysOrgMapper extends BaseMapper<SysOrg> {
    List<SysOrg> selectOrgListByCate(SysOrgExtend record);

    Integer selectSort(int pid);

    List<SysOrg> selectOtherOrgList(List<Integer> otherOgns);

    List<SysOrg> selectPostNameByOrgList(List<Integer> orgList);
}
